package com.hgkj.cloud.base.dao;

import com.hgkj.cloud.base.domain.SysFaq;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface SysFaqMapper {
    int deleteByPrimaryKey(String uuid);

    int insert(SysFaq record);

    int insertSelective(SysFaq record);

    SysFaq selectByPrimaryKey(String uuid);

    int updateByPrimaryKeySelective(SysFaq record);

    int updateByPrimaryKey(SysFaq record);

    List<SysFaq> listAllFaqs();

    List<SysFaq> getlistFaqsType();

    List<SysFaq> listAllFaqsPage(Map<String, Object> map);

    long listAllFaqsPageCount(Map<String, Object> map);

    SysFaq getFaqByUuid(@Param("uuid") String uuid);
}